/**
 * 定义ra中面板 ad
 * name属性没有指定
 */
Ext.define('Risk.view.ru.Pu', {
    extend: 'Ext.form.FieldSet',
    alias: 'widget.pufieldSet',
    title: '雷击服务设施导致人畜伤害概率【Pu】',
    layout: 'vbox',
    autoShow: true,
    initComponent: function() {
      //初始化Window中的内容
    	this.items = [
           {
			    xtype: 'radiogroup',
	            items: [
	                {
	                    boxLabel  : '未采取遮拦物',
	                    name      : 'puRadio',
	                    width:160,
	                    labelWidth:120,
	                    inputValue: 1,
	                    checked:true
	                }, {
	                	margin:'0 0 0 10',
	                    boxLabel  : '采取遮拦物',
	                    name      : 'puRadio',
	                    inputValue: 0
	                }
	            ]
	        },
	        {
	        	margin:'15 0 0 0',
	        	itemId:'ct1',
	            xtype      : 'fieldcontainer',
	            layout: 'hbox',
	            items: [
	                {
	                	xtype:'radio',
	                	boxLabel  : '设备冲击耐压=1.5KV',
	                	inputValue: 1.5,
	                	name:'kv'
	                }, {
	                	itemId:'combo0',
	                	 xtype:'combo',
	                	 forceSelection :true,
	                	 minWidth :200,
	                	 displayField: 'name',
	                	 valueField: 'value',
	                	 store:'ru.Pu1Store',
	                	 disabled:true,
	                	name:'pu'
	                }
	            ]
	        },
	        {
	        	margin:'3 0 0 0',
	        	itemId:'ct2',
	            xtype      : 'fieldcontainer',
	            layout: 'hbox',
	            items: [
	                {
	                	xtype:'radio',
	                	boxLabel  : '设备冲击耐压=2.5KV',
	                	inputValue: 2.5,
	                	name:'kv'
	                }, {
	                	xtype:'combo',
	                	itemId:'combo1',
	                	forceSelection :true,
	                	minWidth :200,
	                	 displayField: 'name',
	                	 valueField: 'value',
	                	 store:'ru.Pu2Store',
	                	disabled:true,
	                	name:'pu'
	                }
	            ]
	        },
	        {
	        	margin:'3 0 0 0',
	        	itemId:'ct3',
	            xtype      : 'fieldcontainer',
	            layout: 'hbox',
	            items: [
	                {
	                	xtype:'radio',
	                	boxLabel  : '设备冲击耐压=4.0KV',
	                	inputValue: 4,
	                	name:'kv'
	                }, {
	                	xtype:'combo',
	                	itemId:'combo2',
	                	forceSelection :true,
	                	minWidth :200,
	                	 displayField: 'name',
	                	 valueField: 'value',
	                	 store:'ru.Pu4Store',
	                	disabled:true,
	                	name:'pu'
	                }
	            ]
	        },
	        {
	        	margin:'3 0 0 0',
	        	itemId:'ct4',
	            xtype      : 'fieldcontainer',
	            layout: 'hbox',
	            items: [
	                {
	                	xtype:'radio',
	                	boxLabel  : '设备冲击耐压=6.0KV',
	                	inputValue: 6,
	                	name:'kv'
	                }, {
	                	xtype:'combo',
	                	itemId:'combo3',
	                	forceSelection :true,
	                	minWidth :200,
	                	 displayField: 'name',
	                	 valueField: 'value',
	                	 store:'ru.Pu6Store',
	                	disabled:true,
	                	name:'pu'
	                }
	            ]
	        }
	       ,{
	        	
	        	itemId:'pu',
	        	margin:'15 0 0 0',
	        	readOnly : true,
	        	xtype:'textfield',
	        	labelWidth:140,
	        	style:'background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
	        	fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
	        	fieldLabel:'人畜伤害损失概率【Pu】'
	        }
        ];
        this.callParent(arguments);
        
    }
    
});